KDB is a very powerful tool that allows several operations such as memory and register modification, applying breakpoints, and stack tracing. KDB是一个功能非常强大的工具,它允许进行几个操作,比如内存和寄存器修改、应用断点和堆栈跟踪。
The condition register should be saved in its area of the stack before any of these fields are modified, and then restored before returning. 在对任何域进行修改之前,都应该将条件寄存器保存到堆栈的这个区域中,然后在返回之前恢复。
Remember that the link register is stored in the calling function's stack frame, not the function's own stack frame. 请记住链接寄存器存储在调用函数的堆栈框架内,而非函数自身的堆栈框架。
Mpacked-stack and-mno-packed-stack: These options control whether the stack frame uses a space-optimized, dense-packing scheme for register save slots. mpacked-stack和-mno-packed-stack:这些选项控制堆栈帧是否针对注册器保存槽(registersaveslot)使用空间优化的紧凑模式。
You could, in fact, manually dump the contents of the frame pointer register and trace the entire stack. 实际上,您可以手工转储帧指针寄存器的内容并跟踪整个堆栈。
Its successor was the4040 processor ( released in1974), which had an expanded instruction set, program memory, register set, and stack. 其后面是4040处理器(1974发布),其具有扩展指令集、程序内存、寄存器集和堆栈。
So this instruction stores the link register ( which holds the return address) into the proper location in the calling function's stack frame. 所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
However, since the base case doesn't call any other functions, you don't need to load the link register from the stack frame& the value is still there. 但由于基线条件并不调用任何其他函数,所以无需从堆栈框架加载链接寄存器&值还在原处。
When a function begins, it actually saves the link register in the calling function's stack frame, not its own, and then only if it needs to save it. 当函数开始时,它实际上会将链接寄存器保存到调用函数的堆栈帧中,而不是自己的堆栈帧中,然后只有在需要时才会保存它。
Therefore, before using a non-volatile register in a function, its value must be saved in the function's stack frame, and then restored before the function returns. 因此,在函数中使用非易失性寄存器之前,它的值必须保存到该函数的堆栈帧中,然后在函数返回之前恢复。
Before making any timing to evaluate the effect of the two optimisations it is a good idea to optimise away some, or all if possible, of the stack to register and register to stack moves. 在比较这两个优化的效率之前,最好能尽可能的优化掉比如堆栈到寄存器,寄存器到堆栈的数据移动。
If the CONFIG_FRAME_POINTER option was set during kernel compilation, the frame pointer register is used to maintain stacks and, hence, the stack traceback can be performed correctly. 如果内核编译期间设置了CONFIGFRAMEPOINTER选项,那么就用帧指针寄存器来维护堆栈,从而就可以正确地执行堆栈回溯。
It uses this information to optimize register usage, stack allocations and pointers across the whole program. 它使用这些信息来优化整个程序中的寄存器使用、堆栈分配和指针。
If a routine changes the value of a nonvolatile register, it must save the old value on the stack before changing the register and restore that value before returning. 如果一个程序改变了一个非易失性寄存器的值,它必须保存在改变这个寄存器之前堆栈中保存旧的值和在返回之前恢复那个值。
In response to the disadvantages of register window method of Berkeley RISC processor, this paper presents an improved archi-tecture with an off-chip special stack memory. 本文通过分析BerkeleyRISC处理器寄存器窗口方法的特点,针对其不足之处提出改进其结构的方法,并给出增加一个芯片外专用堆栈存储器的改进体系结构的设想。
In FPGA, CPU IP Core have necessary arithmetic logic unit ( ALU), register stack, instruction buffer, Jump-counter, instruction-set, and optimize the performance of CPU based on the architecture of FPGA. 在FPGA内部不仅实现了CPU必需的算术逻辑器、寄存器堆、指令缓冲、跳转计数、指令集,而且针对FPGA内部的结构特点对设计进行了地址和数据的优化。
But high stack register pressure will lead to frequent register stack spill/ fill. 但过多的栈寄存器使用会引起寄存器栈溢出/载入。
X-DSP offers seven basic addressing modes, they are immediate addressing, absolute addressing, accumulator addressing, direct addressing, indirect addressing, memory-mapped register addressing, and stack addressing. X-DSP提供七种基本寻址方式,分别为立即寻址、绝对寻址、累加器寻址、直接寻址、间接寻址、存储器映射寄存器寻址和堆栈寻址。
Register file is also called register stack. Just like a small and fast buffer, it is used to store the operands and middle results. 寄存器文件也称寄存器堆,其作用就像一个小的快速的缓冲器,用于微处理器存放操作数和运算的中间结果。